//
//  AppDelegate.h
//  618
//
//  Created by Jacky.Chen on 13-6-20.
//  Copyright __618工作室__ 2013年. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "cocos2d.h"
#import "TopScoreViewController.h"
@class GameScene;

@interface AppController : NSObject <UIApplicationDelegate, CCDirectorDelegate>
{
	UIWindow *window_;
	UINavigationController *navController_;

	CCDirectorIOS	*director_;							// weak ref
    NSNotificationCenter *notifyCenter;
}

@property (nonatomic, retain) UIWindow *window;
@property (readonly) UINavigationController *navController;
@property (readonly) CCDirectorIOS *director;

@property (nonatomic, retain) NSNotificationCenter *notifyCenter;

@property (nonatomic, retain) GameScene *gs;
@property (nonatomic, retain) TopScoreViewController *highScoresViewController;

+ (AppController *)sharedAppDelegate;

- (void) hideUIViewController:(UIViewController *) controller;
- (void) showUIViewController:(UIViewController *) controller;
+(void)tt;
@end
